<%--
  Created by IntelliJ IDEA.
  User: lijiawang1
  Date: 2017/4/25
  Time: 22:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>ShowAllActivity</title>
<style>

</style>
</head>
<body>
           <c:forEach items="${sessionScope.allActivity}" var="activity">
                 <div style="width: 300px; height: 200px; float: left">
                     <div>${activity.activityid}</div>
                     <div> ${activity.acttype}</div>
                     <div style="border: dotted 1px; position: absolute;left: 50px; width: 200px;height: 120px;">
                       <a href="LoadThis"><img src="${sessionScope.photoFilePath}\food.jpg" ></a>
                     </div>
                     <div>
                         活动折扣: 打 ${activity.discount} 折
                     </div>
                     <div>
                         活动简介:${activity.actintro}
                     </div>
                 </div>
             </c:forEach>
</body>
</html>
